global restrdir "U:\data"

import delimited $restrdir/SSA_mortality_2010.csv, clear

rename male_deathp deathp_1
rename female_deathp deathp_2
reshape long deathp_, i(age) j(sex)

sort age sex
rename deathp_ deathp

save $restrdir/SSA_mortality_2010, replace

